// Tank code
#ifndef TANK_H
#define TANK_H
#include <string>
#ifdef WINDOWS
#include <SDL.h>
#endif
#ifdef LINUX
#include <SDL/SDL.h>
#endif
#include <cmath>
using namespace std;
class Tank
{
public:
	int x;
	int y;
	int vel_x;
	int vel_y;
	double angle;
	int energy;
	int health;
	string name;
	void update(bool myturn, int scr_height,int scr_width,int ground_height, Uint8 *keys);
};
#endif
